<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: Reference info flags</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Reference info flags</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Used by <a class="el" href="structrefinfo__t.html#ae0ce0d7662ed10030f30dd11fc778259" title="Reference info flags ">refinfo_t::flags</a>. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gafe914182dfe3b36e1efbb3b6af552e38"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafe914182dfe3b36e1efbb3b6af552e38"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_e_f_i_n_f_o__.html#gafe914182dfe3b36e1efbb3b6af552e38">REFINFO_TYPE</a>&#160;&#160;&#160;0x000F</td></tr>
<tr class="memdesc:gafe914182dfe3b36e1efbb3b6af552e38"><td class="mdescLeft">&#160;</td><td class="mdescRight">reference type <br /></td></tr>
<tr class="separator:gafe914182dfe3b36e1efbb3b6af552e38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga173c52e7587909ab4bd29237437ed421"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_e_f_i_n_f_o__.html#ga173c52e7587909ab4bd29237437ed421">REFINFO_RVAOFF</a>&#160;&#160;&#160;0x0010</td></tr>
<tr class="memdesc:ga173c52e7587909ab4bd29237437ed421"><td class="mdescLeft">&#160;</td><td class="mdescRight">based reference (rva)  <a href="#ga173c52e7587909ab4bd29237437ed421">More...</a><br /></td></tr>
<tr class="separator:ga173c52e7587909ab4bd29237437ed421"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d4315e648f31d9467ae7e74c3fe920e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_e_f_i_n_f_o__.html#ga9d4315e648f31d9467ae7e74c3fe920e">REFINFO_PASTEND</a>&#160;&#160;&#160;0x0020</td></tr>
<tr class="memdesc:ga9d4315e648f31d9467ae7e74c3fe920e"><td class="mdescLeft">&#160;</td><td class="mdescRight">reference past an item  <a href="#ga9d4315e648f31d9467ae7e74c3fe920e">More...</a><br /></td></tr>
<tr class="separator:ga9d4315e648f31d9467ae7e74c3fe920e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5513a95d893f73d5e0382c7375d09ef8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_e_f_i_n_f_o__.html#ga5513a95d893f73d5e0382c7375d09ef8">REFINFO_CUSTOM</a>&#160;&#160;&#160;0x0040</td></tr>
<tr class="memdesc:ga5513a95d893f73d5e0382c7375d09ef8"><td class="mdescLeft">&#160;</td><td class="mdescRight">a custom reference  <a href="#ga5513a95d893f73d5e0382c7375d09ef8">More...</a><br /></td></tr>
<tr class="separator:ga5513a95d893f73d5e0382c7375d09ef8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c47e62ab5aa6e450554aee16e553978"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_e_f_i_n_f_o__.html#ga8c47e62ab5aa6e450554aee16e553978">REFINFO_NOBASE</a>&#160;&#160;&#160;0x0080</td></tr>
<tr class="memdesc:ga8c47e62ab5aa6e450554aee16e553978"><td class="mdescLeft">&#160;</td><td class="mdescRight">don't create the base xref  <a href="#ga8c47e62ab5aa6e450554aee16e553978">More...</a><br /></td></tr>
<tr class="separator:ga8c47e62ab5aa6e450554aee16e553978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1827c27c186580584e67479d04c659c9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1827c27c186580584e67479d04c659c9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_e_f_i_n_f_o__.html#ga1827c27c186580584e67479d04c659c9">REFINFO_SUBTRACT</a>&#160;&#160;&#160;0x0100</td></tr>
<tr class="memdesc:ga1827c27c186580584e67479d04c659c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">the reference value is subtracted from the base value instead of (as usual) being added to it <br /></td></tr>
<tr class="separator:ga1827c27c186580584e67479d04c659c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3010e02fb9c255c0cb3bd222efca9889"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3010e02fb9c255c0cb3bd222efca9889"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_e_f_i_n_f_o__.html#ga3010e02fb9c255c0cb3bd222efca9889">REFINFO_SIGNEDOP</a>&#160;&#160;&#160;0x0200</td></tr>
<tr class="memdesc:ga3010e02fb9c255c0cb3bd222efca9889"><td class="mdescLeft">&#160;</td><td class="mdescRight">the operand value is sign-extended (only supported for REF_OFF8/16/32/64) <br /></td></tr>
<tr class="separator:ga3010e02fb9c255c0cb3bd222efca9889"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga173c52e7587909ab4bd29237437ed421"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define REFINFO_RVAOFF&#160;&#160;&#160;0x0010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>based reference (rva) </p>
<p><a class="el" href="structrefinfo__t.html#a7c866d752cb0b7004616162c07578f40" title="base of reference (may be BADADDR) ">refinfo_t::base</a> will be forced to <a class="el" href="nalt_8hpp.html#afca1b6a7bdd1c05fc579580e29e902ed" title="Get image base address. ">get_imagebase()</a> such a reference is displayed with the <a class="el" href="structasm__t.html#a4b254d55ee1e8599c7ce10cea5472575" title="&#39;rva&#39; keyword for image based offsets (see REFINFO_RVAOFF) ">asm_t::a_rva</a> keyword </p>

</div>
</div>
<a class="anchor" id="ga9d4315e648f31d9467ae7e74c3fe920e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define REFINFO_PASTEND&#160;&#160;&#160;0x0020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>reference past an item </p>
<p>it may point to an nonexistent address do not destroy alignment dirs </p>

</div>
</div>
<a class="anchor" id="ga5513a95d893f73d5e0382c7375d09ef8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define REFINFO_CUSTOM&#160;&#160;&#160;0x0040</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>a custom reference </p>
<p>the kernel will call processor_t::notify(ph.custom_offset, .... that can change all arguments used for calculations. This flag is useful for custom fixups </p>

</div>
</div>
<a class="anchor" id="ga8c47e62ab5aa6e450554aee16e553978"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define REFINFO_NOBASE&#160;&#160;&#160;0x0080</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>don't create the base xref </p>
<p>implies that the base can be any value nb: base xrefs are created only if the offset base points to the middle of a segment </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
